﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using WebSOAPUI.Lib.Model;

namespace WebSOAPUI.Lib
{
    public class CNOOCDbContext : DbContext
    {
        public CNOOCDbContext(string cnName) : base(cnName) { }

        public CNOOCDbContext() : this("websoapui") { }

        public DbSet<WebServiceEntity> WebServices { get; set; }
        public DbSet<WebServiceMethodEntity> WebServiceMethods { get; set; }
        public DbSet<WebServiceSOAPRequestDataPackEntity> SOAPRequestDataPackes { get; set; }
        public DbSet<WebServiceAttachment> WebServiceAttachments { get; set; }
    }
}